<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />	
	<title>后台首页 - 欢迎使用商城系统</title>
	<link type="text/css" rel="stylesheet" href="__COMMON__/css/style.css" />
	<script type="text/javascript" src="../../include/js/jquery.js"></script>
<css file="__STATIC__/hdjs/hdjs.css" />
<css file="__STATIC__/hdjs/hdui.css" />
</head>
<include file="__PUBLIC__/head"/> 
<div class="content">
	<div class="main">
		<include file="__PUBLIC__/left"/>
		<!-- start right -->

<div class="right">
	<div class="now">
		<div class="now_l"></div>
		<div class="now_m">
			<span class="fl">品牌列表</span>
			<span class="fr fabu"><a href="{|U:'Brand/addbr'}">增加品牌</a></span>
		</div>
		<div class="now_r"></div>
		<div class="clear"></div>
	</div>
	<form method="post" id="form">
	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="list mat5">
	<tr>
		<td class="bgtt" width="50">ID号</td>
		<td class="bgtt" width="50">排序</td>
		<td class="bgtt" >品牌图片</td>
		<td class="bgtt" width="250">品牌名称</td>
		<td class="bgtt" width="88">操作</td>
	</tr>
	<foreach from="$data" key="$k" value="$v">
	<tr height="60">
		<td>{$v.bid}</td>
		<td><input type="text" name="bname" value="{$v.sort}" class="inputtext input40" /></td>
		<td>
			<img src="{$v.logo}" height="80" width="80" />
			<input type="hidden" name="logo"  value="{$v.logo}" />
		</td>
		<td>{$v.bname}</td>
		<td>
			<a href="{|U:'Brand/editbr',array('bid'=>$v['bid'])}" class="admin_edit mar3">修改</a>
			<a href="{|U:'Brand/del',array('bid'=>$v['bid'])}" class="admin_del" onclick="return pe_cfone(this, '删除')">删除</a>
		</td>
	</tr>
	</foreach>
	
		
		
		<tr>
		<td class="bgtt" colspan="5">
			<span class="fl"><button href="admin.php?mod=ad&act=order" onclick="pe_doall(this,'form')">批量排序</button></span>
			<span class="fenye"></span>
		</td>
	</tr>
	</table>
	</form>
	<div class="page_cms">
		{$page}
	</div>
</div>
	

		<div class="clear"></div>
	</div>
	<div class="foot">Copyright <span class="num">&copy;</span> 2014-2017 <a target="_blank" href="#"></a> 版权所有</div>
</div>
<script type="text/javascript"> 
$(function(){
	$(".list").find("tr").hover(
		function(){
			if ($(this).find("td").hasClass("bgtt")) return;
			$(this).find("td").css("background-color", "#ffffdd");
		},
		function(){
			if ($(this).find("td").hasClass("bgtt")) return;
			$(this).find("td").css("background-color", "#fff");
		}
	)
})
</script>
</body>
</html>



		<!-- end right -->



